﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TdolDemo_QBZ.Models.Task;

namespace TdolDemo_QBZ.Repository
{
    interface ITdolUnitRepository
    {
        //get list
        List<UnitModel> GetUnitInTask(int taskid);
        List<UnitModel> GetUnitInTask(List<int> taskid);
        //add
        int AddUnit(UnitModel unit);
        int AddUnit(List<UnitModel> unit);
    }
}
